var mongoose =require('mongoose');
var Schema = mongoose.Schema;

var LogRecord = new Schema({
    entity: {type: String},
    entityId: {type: String},
    content: {type: String},
    type: {type: String},
    time: {type: Date, default: Date.now}
})

mongoose.model('LogRecord', LogRecord);